<template>
	<view>
		<image class="riderbg" src="https://youlinapi.zhihui361.com/image/wx/riderbg.png" mode=""></image>
		<navtop>
			<view class="nav-top">
				<image class="back-icon" src="../../static/back3.png" mode="" @click="utils.pageBack()"></image>
			</view>
		</navtop>
		<view class="main">
			<image class="rider1" src="https://youlinapi.zhihui361.com/image/wx/rider1.png" mode=""></image>
			<view class="rule-box">
				<image class="rulebg" src="https://youlinapi.zhihui361.com/image/wx/rider2.png" mode=""></image>
				<view class="rule-inner pr">
					<view class="title tac">配送员优惠政策</view>
					<view class="rule-content">
						<rich-text :nodes="content"></rich-text>
					</view>
				</view>
				<image class="rider3" src="https://youlinapi.zhihui361.com/image/wx/rider3.png" mode=""></image>
			</view>
			<view class="apply-btn" @click="utils.navTo('/pages/mine/service')">立即报名联系客服</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: '<p>1、每位骑手的补贴款金额不低于300元,但也有可能超过这个金额,具体要看每位骑手每月的表现。</p><p>2、另外,骑手补贴款还有其他一些优惠政策,比如在特殊节假日发放福利。</p><p>3、每位骑手的补贴款金额不低于300元,但也有可能超过这个金额,具体要看每位骑手每月的表现。</p><p>4、另外,骑手补贴款还有其他一些优惠政策,比如在特殊节假日发放福利。</p>'
			};
		},
		onLoad() {
			console.log(this.utils.menuButtonTop())
		}
	}
</script>

<style lang="scss" scoped>
	.riderbg{
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
	}
	.nav-top{
		padding: 0 24rpx;
		.back-icon{
			width: 56rpx;
			height: 56rpx;
		}
	}
	.main{
		position: relative;
		padding: 0 30rpx;
	}
	.rider1{
		width: 680rpx;
		height: 352rpx;
	}
	.rule-box{
		position: relative;
		width: 718rpx;
		height: 856rpx;
		.rulebg{
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			width: 100%;
			height: 100%;
		}
		.rule-inner{
			padding: 134rpx 110rpx 170rpx 94rpx;
			box-sizing: border-box;
			width: 100%;
			height: 100%;
			.title{
				font-size: 60rpx;
				line-height: 70rpx;
			}
			.rule-content{
				margin-top: 42rpx;
				line-height: 44rpx;
				color: #666;
			}
		}
		.rider3{
			position: absolute;
			bottom: -90rpx;
			right: 0;
			width: 326rpx;
			height: 342rpx;
		}
	}
	.apply-btn{
		margin-top: 62rpx;
		height: 88rpx;
		line-height: 88rpx;
		border-radius: 44rpx;
		text-align: center;
		font-size: 40rpx;
		font-weight: bold;
		color: #E9632B;
		background: linear-gradient( 180deg, #fff 0%, #FFC65D 100%);
	}
</style>
